package week4;

public class Dog {
    private String dogname;
    private int dogage;
    private int peopleage;


    public Dog(String Dogname, int Dogage) {
        dogname = Dogname;
        dogage = Dogage;

    }


    public String getDogname() {
        return getDogname();
    }

    public void setDogname(String Dogname) {
        dogname = Dogname;
    }

    public int getDogage() {
        int getDogage = 0;
        return getDogage;
    }

    public void setDogage(int Dogage) {
        dogage = Dogage;
    }

    public int transform() {
        peopleage = dogage * 7;
        return peopleage;
    }

    @Override
    public String toString() {
        return "\ndogname: " + dogname + "\ndogage: " + dogage + "\npeopleage: " + peopleage;
    }
}
